<template>
  <div class="article">
    <div class="top">
      <div class="left">
        <div style="margin-right: 10px">
          <RouterLink to="/layout/article/recommend">推荐</RouterLink>
        </div>
        &nbsp;&nbsp;
        <div><RouterLink to="/layout/article/new">最新</RouterLink></div>
      </div>
      <div class="right">
        <img src="../assets/image.png" alt="" width="64px" height="28px" />
      </div>
    </div>
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "HmArticle",
};
</script>

<style lang="less" scoped>
.top {
  height: 40px;
  display: flex;
  align-items: center;
  font-size: 15px;
  padding: 5px 10px 5px 20px;
  justify-content: space-between;
  border-bottom: 1px solid rgb(230, 230, 230);
  .left {
    display: flex;
  }
}
a {
  color: grey;
}
a.active {
  color: black;
}
</style>
